package com.yiyi.credit.manage.sso.service.inner;



import com.yiyi.credit.manage.sso.common.exception.ServiceException;
import com.yiyi.credit.manage.sso.common.page.Pagination;
import com.yiyi.credit.manage.sso.model.entity.SysUser;
import com.yiyi.credit.manage.sso.model.entity.SysUserInfo;
import com.yiyi.credit.manage.sso.model.system.UserAllInfo;

import java.util.List;
import java.util.Map;

public interface SysUserService {


    SysUser getUserByName(String userName) throws ServiceException;


    void register(String userName, String password, Long status, SysUserInfo sysUserInfo) throws ServiceException;


    Pagination getSysUserPageList(String userName, Pagination pagination) throws ServiceException;



    Integer updateSysUser(SysUser sysUser) throws ServiceException;


    Object updatePassword(Long sysUserId, String oldPassword, String newPassword) throws Exception;




    Integer deleteSysUserRole(SysUser sysUser) throws ServiceException;




    Integer deleteSysUser(SysUser sysUser) throws ServiceException;



    SysUser getSysUserById(Long id) throws ServiceException;


    List<SysUser> getSysUserByUserName(String userName) throws ServiceException;

    Map<String,String> getSysUserByUserName1(String userName) throws ServiceException;



    Pagination getUserAllInfoList(Long sysInfoId, String userName, String realName, Long roleNameId, Long status, Pagination pagination) throws ServiceException;



    List<UserAllInfo> getUserInfoByIds(Long sysInfoId, String ids) throws ServiceException;


}
